GET
/
users
curl --request GET \
  --url https://your_a2_service/users \
  --header 'Authorization: Bearer <token>'
[
  {
    "budget": 123,
    "campaign_count": 1,
    "creative_count": 1,
    "credit": 123,
    "email": "jsmith@example.com",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "is_active": true,
    "is_superuser": true,
    "is_verified": true,
    "name": "<string>",
    "permissions": {},
    "placement_count": 1,
    "preferences": {
      "etc": {
        "language": "ko"
      },
      "notification_methods": {
        "email": true,
        "slack": false,
        "sms": false
      },
      "notification_methods_data": {
        "slack": "<SLACK_WEBHOOK_URL>",
        "sms": ""
      },
      "notifications": {
        "attribute_deleted": true,
        "campaign_finished": true,
        "publish_approval": true,
        "publish_request": true
      }
    },
    "role": "advertiser"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

id
string | null
role
enum<string> | null

User role enum.

Available options:
advertiser,
retailer,
admin

Response

200
application/json

Successful Response

The response is of type object[].